package org.jeecg.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * description: SysRolesDepts <br>
 * date: 2024/3/7 23:14 <br>
 * author: ASUS <br>
 * version: 1.0 <br>
 */
/**
 * 角色部门关联
 */
@Data
@TableName(value = "sys_roles_depts")
public class SysRolesDepts implements Serializable {
    @TableId(value = "role_id", type = IdType.INPUT)
    private Long roleId;

    @TableField(value = "dept_id")
    private Long deptId;

    private static final long serialVersionUID = 1L;
}